﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace OGAMRL.screens
{
    public abstract class Screen
    {
        private Texture2D screenTexture;
        private int width, height;
        //constructors
        public Screen(int h, int w)
        {
            width = w;
            height = h;
        }
        //mutators
        public Texture2D getTexture()
        {
            return screenTexture;
        }
        public void setTexture(Texture2D t)
        {
            this.screenTexture = t;
        }
        //affectors
        public virtual void drawScreen(ref SpriteBatch g)
        {
            g.Draw(screenTexture, Vector2.Zero, Color.White);
        }
    }
}
